Package com.cisco.pt.ipc.sim.pdu
Interface ARPPacket
- All Known Implementing Classes:
ARPPacketImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetDstIpAddress(IPAddress dstIpAddress) voidsetDstMacAddress(MACAddress dstMacAddress) voidsetHardWareLength(Byte hardWareLength) voidsetHardwareType(Short hardwareType) voidsetProtocolLength(Byte protocolLength) voidsetProtocolType(Short protocolType) voidsetSrcIpAddress(IPAddress srcIpAddress) voidsetSrcMacAddress(MACAddress srcMacAddress) voidsetUsOperation(Short usOperation) Methods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
encodeTypeAndPayload, getFieldValue, getOrderedFieldNames, pduRead
-
Method Details
-
getHardwareType
Short getHardwareType()- Returns:
- Short Returns a Short
-
setHardwareType
- Parameters:
hardwareType- Takes in a parameter of hardwareType
-
getProtocolType
Short getProtocolType()- Returns:
- Short Returns a Short
-
setProtocolType
- Parameters:
protocolType- Takes in a parameter of protocolType
-
getHardWareLength
Byte getHardWareLength()- Returns:
- Byte Returns a Byte
-
setHardWareLength
- Parameters:
hardWareLength- Takes in a parameter of hardWareLength
-
getProtocolLength
Byte getProtocolLength()- Returns:
- Byte Returns a Byte
-
setProtocolLength
- Parameters:
protocolLength- Takes in a parameter of protocolLength
-
getUsOperation
Short getUsOperation()- Returns:
- Short Returns a Short
-
setUsOperation
- Parameters:
usOperation- Takes in a parameter of usOperation
-
getSrcMacAddress
MACAddress getSrcMacAddress()- Returns:
- MACAddress Returns a MACAddress
-
setSrcMacAddress
- Parameters:
srcMacAddress- Takes in a parameter of srcMacAddress
-
getSrcIpAddress
IPAddress getSrcIpAddress()- Returns:
- IPAddress Returns a IPAddress
-
setSrcIpAddress
- Parameters:
srcIpAddress- Takes in a parameter of srcIpAddress
-
getDstMacAddress
MACAddress getDstMacAddress()- Returns:
- MACAddress Returns a MACAddress
-
setDstMacAddress
- Parameters:
dstMacAddress- Takes in a parameter of dstMacAddress
-
getDstIpAddress
IPAddress getDstIpAddress()- Returns:
- IPAddress Returns a IPAddress
-
setDstIpAddress
- Parameters:
dstIpAddress- Takes in a parameter of dstIpAddress
-